package com.kgc.scd.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @program: com.kgc.scd.service
 * @author: HarryXzy
 * @create: 2022-06-17 13:01
 * @description:
 **/
@FeignClient(value = "blmall-server-xzy-8101")
public interface ExpressService {

    @PostMapping("/searchExpByOrderId")
    Map<String, Object> searchExpByOrderId(@RequestParam("orderId")String orderId);


    @PostMapping("/sendOrder")
    Map<String, Object> sendOrder(@RequestParam("orderId") String orderId,
                                  @RequestParam("expressCor") String expressCor,
                                  @RequestParam("expressId") String expressId);
}
